  <?php
$this->widget('zii.widgets.grid.CGridView', array(
    'dataProvider' => $answers,
    'columns' => array(
            'ans_id',
            'ans_name',
            'ques_id',
            'ans_created'
        )
    ));
    ?>

